package com.youwu.weather.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("weather-city-eureka")
public interface CityClient {

    // 这个请求路径必须与城市数据接口的请求路径一致
    @GetMapping("/citys")
    String listCity();
}
